import {LAYOUT } from '../consts'

const menus: any[] = [{
  name: 'device:manage',
  path: '/device/manage',
  meta: {
      title: '设备管理',
      icon: 'FundProjectionScreenOutlined',
      hideChildrenInMenu: true,
      orderNo: 2,
      //affix: true,
      component: 'LAYOUT',
      isSync: false,
      perm: 'device:manage'
  },
  redirect: '/deviceManage/index',
  component: LAYOUT,
  children: [
    {
        path: '/deviceManage/index',
        name: 'device:manage',
        meta: {
            title: '设备管理',
            orderNo: 1,
            icon: 'AreaChartOutlined',
            perm: 'device:manage',
            affix: false
        },
        component: () =>{
            return import('/@/views/device/index.vue')
        }
    },

]
}]
export default menus